import os
# basePath="/Users/zhongxin/myproject/learn_javascript/Learn_JavaScript_Advance/"
basePath="/Users/zhongxin/github/learn_javascript/Learn_JavaScript_Advance/"
path = basePath + "15_XHR-Fetch请求"

fileNames = """
04_XHR-XHR发送同步的请求.html
01_FeHelper插件的演练.html
02_XHR-XHR请求的基本使用.html
03_XHR-XHR状态变化的监听.html
05_XHR-XHR其他事件的监听.html
06_XHR-XHR响应数据和类型.html
07_XHR-获取HTTP的状态码.html
08_XHR-GET-POST请求传参.html
09_XHR-Ajax网络请求封装.html
10_XHR-Ajax网络请求工具.html
11_XHR-超时时间-取消请求.html
12_Fetch-Fetch函数基本使用.html
13_XHR-文件上传的接口演练.html
14_Fetch-文件上传的接口演练.html
"""
fileList = fileNames.split("\n")
for i in fileList:
  if i:
    with open(os.path.join(path,i),'w') as f:
      f.write(" ")
